package com.example.demo.repository;

import com.example.demo.entity.NotificationConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NotificationConfigRepository extends JpaRepository<NotificationConfig, Long> {
    List<NotificationConfig> findByGuildIdAndEventTypeAndEnabled(String guildId, String eventType, Boolean enabled);
}